home *** CD-ROM | disk | FTP | other *** search
/ PC Gamer (Italian) 42 / PC Gamer IT CD 42 2-2.iso / win_update / i386 / it / ie5 / VBSCRIPT.CAB / vbscript.inf < prev    next >
Windows Setup INFormation  |  1999-03-11  |  7KB  |  210 lines

  1.  
  2. [version]
  3. signature="$CHICAGO$"
  4. AdvancedINF=2.5
  5.  
  6. [DefaultInstall]
  7. RequiredEngine=Setupapi,%BadSetupVer%
  8. ComponentName="IE5BAKEX"
  9. ComponentVersion=5.0
  10. CustomDestination=MSIExploreDestinationSection
  11. CopyFiles=SysDir.Files,WinDir.Files,Command.Files,Inf.Install
  12. AddReg=!VB.Uninst.Reg,Register.AddReg,AddReg.Extensions
  13. RegisterOCXs=RegisterOCX.VB
  14. BackupPath=%49000%\%UninstallData%
  15. PerUserInstall=PUI
  16.  
  17. [DefaultInstall.NT]
  18. RequiredEngine=Setupapi,%BadSetupVer%
  19. ComponentName="IE5BAKEX"
  20. ComponentVersion=5.0
  21. CustomDestination=MSIExploreDestinationSection
  22. CopyFiles=SysDir.Files,SysDir.Files.NT,Inf.Install
  23. AddReg=!VB.Uninst.Reg,Register.AddReg,AddReg.Extensions.NT
  24. RegisterOCXs=RegisterOCX.VB
  25. BackupPath=%49000%\%UninstallData%
  26. PerUserInstall=PUI
  27.  
  28. [PUI]
  29. DisplayName=%DisplayDesc%
  30. ComponentID=MSVBScript
  31. GUID={4f645220-306d-11d2-995d-00c04f98bbc9} 
  32. Version="5,0,3,10"
  33. Locale=%Locale%
  34. IsInstalled=1
  35. RollbackUninstall=1
  36.  
  37. [MSIExploreDestinationSection]
  38. 49000=MSIExploreLDIDSection,5
  39.  
  40. [MSIExploreLDIDSection]
  41. HKLM,"Software\Microsoft\Windows\CurrentVersion\App Paths\IEXPLORE.EXE","Path",,"%24%\%LProgramF%\%LMSIE4%"
  42.  
  43. [SourceDisksNames]
  44. 55=%DisplayDesc%,,0
  45.  
  46. [DestinationDirs]
  47. Inf.Install      =17
  48. SysDir.Files     =11
  49. SysDir.Files.NT  =11
  50. WinDir.Files     =25
  51. Command.Files    =25,Command
  52.  
  53. [SourceDisksFiles]
  54. vbscript.dll=55
  55. vbsit.dll=55
  56. unie5bak.inf=55
  57. vbscript.inf=55
  58. scrrun.dll  =55
  59. scrrnit.dll  =55
  60. cscript.exe =55
  61. wscript.exe =55
  62. wshext.dll  =55
  63. wshom.ocx   =55
  64.  
  65. [SysDir.Files]
  66. wshom.ocx,,,33
  67. wshext.dll,,,33
  68. vbscript.dll,,,33
  69. vbsit.dll,,,33
  70. scrrun.dll,,,33
  71. scrrnit.dll,,,33
  72.  
  73. [SysDir.Files.NT]
  74. wscript.exe,,,33
  75. cscript.exe,,,33
  76.  
  77. [WinDir.Files]
  78. wscript.exe,,,33
  79.  
  80. [Command.Files]
  81. cscript.exe,,,33
  82.  
  83. [Inf.Install]
  84. unie5bak.inf
  85.  
  86. [RegisterOCX.VB]
  87. %11%\wshom.ocx
  88. %11%\wshext.dll
  89. %11%\vbscript.dll
  90. %11%\scrrun.dll
  91.  
  92. [Register.AddReg]
  93. HKLM,"%REG_WSH%\Settings","DisplayLogo",,"1"
  94. HKLM,"%REG_APPROVE%","%CLSID_WSHEXT%",,"%DESC_WSHEXT%"
  95.  
  96. [AddReg.Extensions]
  97. ; .WSH
  98. HKCR,".WSH","",,"WSHFile"
  99. HKCR,"WSHFile","",,"%DESC_DOTWSH%"
  100. HKCR,"WSHFile","IsShortcut",,"Yes"
  101. HKCR,"WSHFile\DefaultIcon","",,"%25%\WScript.exe,1"
  102. HKCR,"WSHFile\Shell\Open","",,"%MENU_OPEN%"
  103. HKCR,"WSHFile\Shell\Open\Command",,,"%25%\WScript.exe ""%1"" %*"
  104. HKCR,"WSHFile\Shell\Open2","",,"%MENU_DOSOPEN%"
  105. HKCR,"WSHFile\Shell\Open2\Command","",,"%25%\Command\CScript.exe ""%1"" %*"
  106. HKCR,"WSHFile\ShellEx\PropertySheetHandlers\WSHProps","",,"%CLSID_WSHEXT%"
  107.  
  108. ; .VBS
  109. HKCR,".VBS","",,"VBSFile"
  110. HKCR,"VBSFile","",,"%DESC_DOTVBS%"
  111. HKCR,"VBSFile\DefaultIcon","",,"%25%\WScript.exe,2"
  112. HKCR,"VBSFile\ScriptEngine","",,"VBScript"
  113. HKCR,"VBSFile\Shell\Open","",,"%MENU_OPEN%"
  114. HKCR,"VBSFile\Shell\Open\Command","",,"%25%\WScript.exe ""%1"" %*"
  115. HKCR,"VBSFile\Shell\Open2","",,"%MENU_DOSOPEN%"
  116. HKCR,"VBSFile\Shell\Open2\Command","",,"%25%\Command\CScript.exe ""%1"" %*"
  117. HKCR,"VBSFile\Shell\Edit","",,"%MENU_EDIT%"
  118. HKCR,"VBSFile\Shell\Edit\Command","",,"%25%\Notepad.exe %1"
  119. HKCR,"VBSFile\Shell\Print","",,"%MENU_PRINT%"
  120. HKCR,"VBSFile\Shell\Print\Command","",,"%25%\Notepad.exe /p %1"
  121. HKCR,"VBSFile\ShellEx\PropertySheetHandlers\WSHProps","",,"%CLSID_WSHEXT%"
  122.  
  123. ; .JS
  124. HKCR,".JS","",,"JSFile"
  125. HKCR,"JSFile","",,"%DESC_DOTJS%"
  126. HKCR,"JSFile\DefaultIcon","",,"%25%\WScript.exe,3"
  127. HKCR,"JSFile\ScriptEngine","",,"JScript"
  128. HKCR,"JSFile\Shell\Open","",,"%MENU_OPEN%"
  129. HKCR,"JSFile\Shell\Open\Command","",,"%25%\WScript.exe ""%1"" %*"
  130. HKCR,"JSFile\Shell\Open2","",,"%MENU_DOSOPEN%"
  131. HKCR,"JSFile\Shell\Open2\Command","",,"%25%\Command\CScript.exe ""%1"" %*"
  132. HKCR,"JSFile\Shell\Edit","",,"%MENU_EDIT%"
  133. HKCR,"JSFile\Shell\Edit\Command","",,"%25%\Notepad.exe %1"
  134. HKCR,"JSFile\Shell\Print","",,"%MENU_PRINT%"
  135. HKCR,"JSFile\Shell\Print\Command","",,"%25%\Notepad.exe /p %1"
  136. HKCR,"JSFile\ShellEx\PropertySheetHandlers\WSHProps","",,"%CLSID_WSHEXT%"
  137.  
  138. [AddReg.Extensions.NT]
  139. ; .WSH
  140. HKCR,".WSH","",,"WSHFile"
  141. HKCR,"WSHFile","",,"%DESC_DOTWSH%"
  142. HKCR,"WSHFile","IsShortcut",,"Yes"
  143. HKCR,"WSHFile\DefaultIcon","",,"%11%\WScript.exe,1"
  144. HKCR,"WSHFile\Shell\Open","",,"%MENU_OPEN%"
  145. HKCR,"WSHFile\Shell\Open\Command",,,"%11%\WScript.exe ""%1"" %*"
  146. HKCR,"WSHFile\Shell\Open2","",,"%MENU_CONOPEN%"
  147. HKCR,"WSHFile\Shell\Open2\Command","",,"%11%\CScript.exe ""%1"" %*"
  148. HKCR,"WSHFile\ShellEx\PropertySheetHandlers\WSHProps","",,"%CLSID_WSHEXT%"
  149.  
  150. ; .VBS
  151. HKCR,".VBS","",,"VBSFile"
  152. HKCR,"VBSFile","",,"%DESC_DOTVBS%"
  153. HKCR,"VBSFile\DefaultIcon","",,"%11%\WScript.exe,2"
  154. HKCR,"VBSFile\ScriptEngine","",,"VBScript"
  155. HKCR,"VBSFile\Shell\Open","",,"%MENU_OPEN%"
  156. HKCR,"VBSFile\Shell\Open\Command","",,"%11%\WScript.exe ""%1"" %*"
  157. HKCR,"VBSFile\Shell\Open2","",,"%MENU_CONOPEN%"
  158. HKCR,"VBSFile\Shell\Open2\Command","",,"%11%\CScript.exe ""%1"" %*"
  159. HKCR,"VBSFile\Shell\Edit","",,"%MENU_EDIT%"
  160. HKCR,"VBSFile\Shell\Edit\Command","",,"%11%\Notepad.exe %1"
  161. HKCR,"VBSFile\Shell\Print","",,"%MENU_PRINT%"
  162. HKCR,"VBSFile\Shell\Print\Command","",,"%11%\Notepad.exe /p %1"
  163. HKCR,"VBSFile\ShellEx\PropertySheetHandlers\WSHProps","",,"%CLSID_WSHEXT%"
  164.  
  165. ; .JS
  166. HKCR,".JS","",,"JSFile"
  167. HKCR,"JSFile","",,"%DESC_DOTJS%"
  168. HKCR,"JSFile\DefaultIcon","",,"%11%\WScript.exe,3"
  169. HKCR,"JSFile\ScriptEngine","",,"JScript"
  170. HKCR,"JSFile\Shell\Open","",,"%MENU_OPEN%"
  171. HKCR,"JSFile\Shell\Open\Command","",,"%11%\WScript.exe ""%1"" %*"
  172. HKCR,"JSFile\Shell\Open2","",,"%MENU_CONOPEN%"
  173. HKCR,"JSFile\Shell\Open2\Command","",,"%11%\CScript.exe ""%1"" %*"
  174. HKCR,"JSFile\Shell\Edit","",,"%MENU_EDIT%"
  175. HKCR,"JSFile\Shell\Edit\Command","",,"%11%\Notepad.exe %1"
  176. HKCR,"JSFile\Shell\Print","",,"%MENU_PRINT%"
  177. HKCR,"JSFile\Shell\Print\Command","",,"%11%\Notepad.exe /p %1"
  178. HKCR,"JSFile\ShellEx\PropertySheetHandlers\WSHProps","",,"%CLSID_WSHEXT%"
  179.  
  180. [!VB.Uninst.Reg]
  181. HKLM,"SoftWare\Microsoft\Windows\CurrentVersion\Uninstall\IE5BAKEX","QuietDisplayName",,%DisplayDesc%
  182. HKLM,"Software\Microsoft\Windows\CurrentVersion\Uninstall\IE5BAKEX","QuietUninstallString",,"rundll32 advpack.dll,LaunchINFSectionEx %17%\unie5bak.inf,,,256"
  183. HKLM,"Software\Microsoft\Windows\CurrentVersion\Uninstall\IE5BAKEX","RequiresIESysFile",,"5.00"
  184.  
  185. [Strings]
  186. ; Unlocalizable strings
  187. REG_WSH = "Software\Microsoft\Windows Scripting Host"
  188. REG_APPROVE = "Software\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved"
  189. CLSID_WSHEXT = "{60254CA5-953B-11CF-8C96-00AA00B8708C}"
  190.  
  191. ; Localizable strings
  192. LMSIE4 = "Internet Explorer"
  193. LProgramF = "Programmi"
  194. BadSetupVer = "Il modulo di gestione dell'installazione risulta mancante."
  195. UninstallData = "Uninstall Information"
  196. DisplayDesc = "Supporto Visual Basic Scripting"
  197. Locale = "EN"
  198.  
  199. DESC_DOTWSH = "File di impostazioni host per Windows Scripting Host"
  200. DESC_DOTVBS = "Script VBScript"
  201. DESC_DOTJS = "Script JScript"
  202. DESC_WSHEXT = "Estensioni della shell per Windows Scripting Host"
  203.  
  204. MENU_OPEN = "&Apri"
  205. MENU_CONOPEN = "Apri &con prompt dei comandi"
  206. MENU_DOSOPEN = "Apri &con prompt MS-DOS"
  207. MENU_EDIT = "&Modifica"
  208. MENU_PRINT = "&Stampa"
  209.  
  210.